forIncomingCall
open fun forIncomingCall(@NonNull person: Person, @NonNull declineIntent: PendingIntent, @NonNull answerIntent: PendingIntent): NotificationCompat.CallStyle(source)
Creates a CallStyle for an incoming call. This notification will have a decline and an answer action, will allow a single custom action, and will have a default content text for an incoming call.
Parameters
person
the person displayed as the caller the person also needs to have a non-empty name associated with it
declineIntent
the intent to be sent when the user taps the decline action
answerIntent
the intent to be sent when the user taps the answer action